package com.pine.common.beans.pineframework.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 用户登录响应体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-14
 */
@Data
@Schema(title = "SysUserLoginResponse", description = "用户登录响应体")
public class SysUserLoginResponse implements Serializable {
    @Serial
    private static final long serialVersionUID = -5436910581959145904L;
    /**
     * 用户ID
     */
    @Schema(title = "id", description = "用户ID")
    private Long id;

    /**
     * 用户账号
     */
    @Schema(title = "loginAccount", description = "用户账号")
    private String loginAccount;

    /**
     * 用户名称
     */
    @Schema(title = "username", description = "用户名称")
    private String username;

    /**
     * 头像
     */
    @Schema(title = "avatar", description = "头像")
    private String avatar;

    /**
     * token
     */
    @Schema(title = "token", description = "token")
    private String token;

    /**
     * 刷新token
     */
    @Schema(title = "refreshToken", description = "刷新token")
    private Long refreshToken;

    /**
     * 过期时间
     */
    @Schema(title = "expireTime", description = "过期时间")
    private Long expireTime;
}
